using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ThiSinhMonThiEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: ThiSinhMonThiEntity</para>
	/// <para>Description: ClassThiSinhMonThiEntity store data of table ThiSinhMonThi</para>
	///</summary>

	[DataContract]
	public partial class ThiSinhMonThiEntity{


		private bool _InternalChangedIsNullThiSinhMonThi_ID=true;
		private bool _IsNullThiSinhMonThi_ID=true;
		private bool _InternalChangedIsNullMonThi_ID=true;
		private bool _IsNullMonThi_ID=true;
		private bool _InternalChangedIsNullSoBaoDanh=true;
		private bool _IsNullSoBaoDanh=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullDiemThi=true;
		private bool _IsNullDiemThi=true;
		private bool _InternalChangedIsNullTrangThai=true;
		private bool _IsNullTrangThai=true;
		private bool _InternalChangedIsNullPhongThi_ID=true;
		private bool _IsNullPhongThi_ID=true;
		private int _ThiSinhMonThi_ID;
		private int _MonThi_ID;
		private string _SoBaoDanh;
		private int _SinhVien_ID;
		private Decimal _DiemThi;
		private Byte _TrangThai;
		private int _PhongThi_ID;
		[DataMember]
		public bool IsNullThiSinhMonThi_ID{
			get{return _IsNullThiSinhMonThi_ID;}
			set{if(!_InternalChangedIsNullThiSinhMonThi_ID)_IsNullThiSinhMonThi_ID=value;}
		}
		[DataMember]
		public bool IsNullMonThi_ID{
			get{return _IsNullMonThi_ID;}
			set{if(!_InternalChangedIsNullMonThi_ID)_IsNullMonThi_ID=value;}
		}
		[DataMember]
		public bool IsNullSoBaoDanh{
			get{return _IsNullSoBaoDanh;}
			set{if(!_InternalChangedIsNullSoBaoDanh)_IsNullSoBaoDanh=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullDiemThi{
			get{return _IsNullDiemThi;}
			set{if(!_InternalChangedIsNullDiemThi)_IsNullDiemThi=value;}
		}
		[DataMember]
		public bool IsNullTrangThai{
			get{return _IsNullTrangThai;}
			set{if(!_InternalChangedIsNullTrangThai)_IsNullTrangThai=value;}
		}
		[DataMember]
		public bool IsNullPhongThi_ID{
			get{return _IsNullPhongThi_ID;}
			set{if(!_InternalChangedIsNullPhongThi_ID)_IsNullPhongThi_ID=value;}
		}
		[DataMember]
		public int ThiSinhMonThi_ID{
			get{return _ThiSinhMonThi_ID;}
			set{
				_ThiSinhMonThi_ID=value;
				if(_ThiSinhMonThi_ID!=null){
					_IsNullThiSinhMonThi_ID=false;
					_InternalChangedIsNullThiSinhMonThi_ID=true;
				}
			}
		}
		[DataMember]
		public int MonThi_ID{
			get{return _MonThi_ID;}
			set{
				_MonThi_ID=value;
				if(_MonThi_ID!=null){
					_IsNullMonThi_ID=false;
					_InternalChangedIsNullMonThi_ID=true;
				}
			}
		}
		[DataMember]
		public string SoBaoDanh{
			get{return _SoBaoDanh;}
			set{
				_SoBaoDanh=value;
				if(_SoBaoDanh!=null){
					_IsNullSoBaoDanh=false;
					_InternalChangedIsNullSoBaoDanh=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal DiemThi{
			get{return _DiemThi;}
			set{
				_DiemThi=value;
				if(_DiemThi!=null){
					_IsNullDiemThi=false;
					_InternalChangedIsNullDiemThi=true;
				}
			}
		}
		[DataMember]
		public Byte TrangThai{
			get{return _TrangThai;}
			set{
				_TrangThai=value;
				if(_TrangThai!=null){
					_IsNullTrangThai=false;
					_InternalChangedIsNullTrangThai=true;
				}
			}
		}
		[DataMember]
		public int PhongThi_ID{
			get{return _PhongThi_ID;}
			set{
				_PhongThi_ID=value;
				if(_PhongThi_ID!=null){
					_IsNullPhongThi_ID=false;
					_InternalChangedIsNullPhongThi_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ThiSinhMonThiEntityBase*****************************************/
	/*****************************************************************************************************/
}

